package com.zhiyou.crud.service;

import java.util.List;

import javax.validation.Valid;

import com.zhiyou.crud.bean.projectstype;

public interface projectstypeService {

public	List<projectstype> getAll();

public int addType(@Valid projectstype ptype);

public projectstype getType(Integer id);

public int updateType(projectstype pro);

public int deleteType(Integer id);

}
